{include "header.tpl"}
<style>
    .qrcode-modal{
        position: fixed;
        right: 20px;
        top: 20px;
        -webkit-box-shadow:  0 0 10px rgba(0,0,0,0.5);
        -moz-box-shadow:  0 0 10px rgba(0,0,0,0.5);
        box-shadow:  0 0 10px rgba(0,0,0,0.5);
    }
</style>
{*<link href="/css/bootstrap-switch.min.css" rel="stylesheet" media="screen">
<script src="/js/bootstrap-switch.min.js"></script>
<link rel="stylesheet" href="/css/skins/square/blue.css"/>
<script src="/js/icheck.min.js"></script>*}

<div class="form-horizontal">
    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">连锁店名称:</label>
        <div class="col-sm-5">
            <input type="text" id="name" name="name" value="{$data.name}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">店长名字:</label>
        <div class="col-sm-5">
            <input type="text" id="manager" name="manager" value="{$data.manager}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">营业开门时间:</label>
        <div class="col-sm-5">
            <input type="text" id="start_work_time" name="start_work_time" value="{$data.start_work_time}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">打烊时间:</label>
        <div class="col-sm-5">
            <input type="text" id="stop_work_time" name="stop_work_time" value="{$data.stop_work_time}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">打烊状态:</label>
        <div class="col-sm-5">
            {if $data.work_status eq 1}营业中{elseif $data.work_status eq 2}已打烊{/if}
        </div>
    </div>
    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">起送金额:</label>
        <div class="col-sm-5">
            <input type="text" id="money" name="money" value="{$data.money}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">地址:</label>
        <div class="col-sm-5">
            <input type="text" id="address" name="address" value="{$data.address}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">手机:</label>
        <div class="col-sm-5">
            <input type="text" id="phone" name="phone" value="{$data.phone}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">所在市:</label>
        <div class="col-sm-5">
            <input type="text" id="city" name="city" value="{$data.city}" class="form-control" readonly/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">经度:</label>
        <div class="col-sm-5">
            <input type="text" id="x" name="x" value="{$data.x}" class="form-control" readonly/>
            {*<a href="/Shop/bd" target="_blank">获取经纬度</a>*}
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">纬度:</label>
        <div class="col-sm-5">
            <input type="text" id="y" name="y" value="{$data.y}" class="form-control" readonly/>
            {*<a href="/Shop/bd" target="_blank">获取经纬度</a>*}
        </div>
    </div>

    {*<div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">状态:</label>
        <div class="col-sm-5">
            {if $data.status eq 1}正常{elseif $data.status eq 2}禁用{elseif $data.status eq -1}删除{/if}
        </div>
    </div>*}
</div>
{if $data.ticket}
    <div class="qrcode-modal">
        <img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket={$data.ticket}" style="height: 200px;width: 200px;"/>
        <p style="text-align: center;">门店专属二维码</p>
    </div>
{/if}
<script type="text/javascript">

</script>
{include "footer.tpl"}